package ru.bytedog.oiot.counter.bot.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import ru.bytedog.oiot.counter.bot.entity.BotUser;

/**
 * Результат проверки регистрации клиента
 */
@Data
@AllArgsConstructor
public class RegisterUserResult {
    boolean newUser;
    private BotUser user;
    private Integer deleteMessageId;

    public RegisterUserResult(BotUser user) {
        this.user = user;
    }

    public RegisterUserResult(BotUser user, Integer deleteMessageId) {
        this.user = user;
        this.deleteMessageId = deleteMessageId;
    }
}
